package com.karson.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.karson.common.model.AlbumComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.karson.common.request.CommentRequest;
import com.karson.common.response.*;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_album_comment(评论表)】的数据库操作Service
* @createDate 2025-09-13 11:15:32
*/
public interface AlbumCommentService extends IService<AlbumComment> {


    RepliesResponse pageList(String offset, Integer albumId, Integer orderType) throws JsonProcessingException;

    IPage<CommentResponse> getPageList(IPage<CommentResponse> page, Integer albumId, Integer orderType, String rId);

    CommentResponse addComment(CommentRequest request) throws JsonProcessingException;

    Boolean delComment(Integer id);

    List<CommentTabsHeader> getTabsHeader();

    IPage<CommentAlbumResponse> getList(IPage<CommentAlbumResponse> commentPage, Integer albumId, Integer status);
}
